package com.example.cheeseerpadmin.bus.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/bus")
public class BusinessController {
    /**
     * 跳转到客户管理页面
     *
     * @return
     */
    @RequestMapping("/toCustomerManager")
    public String toCustomerManager() {
        return "business/base/customerManager";
    }

    /**
     * 跳转到供应商管理页面
     *
     * @return
     */
    @RequestMapping("/toProviderManager")
    public String toProviderManager() {
        return "business/base/providerManager";
    }

    /**
     * 跳转到供应商管理页面
     *
     * @return
     */
    @RequestMapping("/toGoodsManager")
    public String toGoodsManager() {
        return "business/base/goodsManager";
    }

    /**
     * 跳转到商品进货管理页面
     *
     * @return
     */
    @RequestMapping("/toInportManager")
    public String toInportManager() {
        return "business/inport/inportManager";
    }

    /**
     * 跳转到商品退货管理页面
     *
     * @return
     */
    @RequestMapping("/toOutportManager")
    public String toOutportManager() {
        return "business/inport/outportManager";
    }

    /**
     * 跳转到商品销售管理页面
     *
     * @return
     */
    @RequestMapping("/toSalesManager")
    public String toSalesManager() {
        return "business/sales/salesManager";
    }

    /**
     * 跳转到商品销售管理页面
     *
     * @return
     */
    @RequestMapping("/toSalesbackManager")
    public String toSalesbackManager() {
        return "business/sales/salesbackManager";
    }
}
